﻿using GalaSoft.MvvmLight;
using KINLO.Model.Attributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KINLO.Model
{
    public class Weight:ViewModelBase
    { 
        [PrintExport(Description ="ID",Order =1,Visibility =false)]
        /// <summary>
        ///  ID
        /// </summary>
        public Guid ID { get; set; }
        /// <summary>
        /// 流水线号
        /// </summary>
        [PrintExport(Description = "设备编号", Order = 17, Visibility = true)]
        public string LineNo { get; set; }

        [PrintExport(Description = "托架号", Order = 3, Visibility = true)]
        /// <summary>
        /// 托架号
        /// </summary>
        public string TrayCode { get; set; }

        [PrintExport(Description = "站号", Order = 4, Visibility = true)]
        /// <summary>
        /// 行号
        /// </summary>
        public int? StationNo { get; set; }
        [PrintExport(Description = "层号", Order = 4, Visibility = true)]
        /// <summary>
        /// 行号
        /// </summary>
        public int? LayerNo { get; set; }
        [PrintExport(Description = "行号", Order = 4, Visibility = true)]
        /// <summary>
        /// 行号
        /// </summary>
        public int? RowNo { get; set; }

        [PrintExport(Description = "工件", Order = 5, Visibility = true)]
        /// <summary>
        /// 工件号
        /// </summary>
        public int Index { get; set; }

        [PrintExport(Description = "阶段", Order = 20, Visibility = false)]
        /// <summary>
        /// 阶段
        /// </summary>
        public int? Stage { get; set; }

        [PrintExport(Description = "电池条码", Order = 19, Visibility = true)]
        /// <summary>
        /// 电池条码
        /// </summary>
        public string BattBarCode { get; set; }
        /// <summary>
        /// 注液前重量
        /// </summary>
        [PrintExport(Description = "注液前重量", Order = 6, Visibility = true)]
        public Decimal? FInjectionWeight { get; set; }
        /// <summary>
        /// 注液后重量
        /// </summary>
        [PrintExport(Description = "注液后重量", Order = 7, Visibility = true)]
        public Decimal? BInjectionWeight { get; set; }
        /// <summary>
        ///  注液量
        /// </summary>

        [PrintExport(Description = "注液量", Order = 8, Visibility = true)]

        public Decimal? InjectionWeight { get; set; }
        /// <summary>
        /// 判定结果
        /// </summary>
        [PrintExport(Description = "判定结果", Order = 9, Visibility = true)]

        public int? IsGoods { get; set; }
        /// <summary>
        /// 测漏结果
        /// </summary>
        [PrintExport(Description = "测漏结果", Order = 9, Visibility = true)]

        public int? LeakHuntingResult { get; set; }

        [PrintExport(Description = "前称重偏差值", Order = 21, Visibility = false)]
        /// <summary>
        /// 前称重偏差值
        /// </summary>
        public Decimal? DevValue { get; set; }

        [PrintExport(Description = "偏差值", Order = 10, Visibility = true)]
        /// <summary>
        /// 后称重偏差值
        /// </summary>
        public Decimal? DevValue2 { get; set; }
        [PrintExport(Description = "范围", Order = 26, Visibility = false)]
        /// <summary>
        /// 前称重范围
        /// </summary>
        public string Range { get; set; }
        /// <summary>
        /// 后称重范围
        /// </summary>
        public string Range2 { get; set; }

        [PrintExport(Description = "前扫码时间", Order = 13, Visibility = true)]
        /// <summary>
        /// 前扫码时间
        /// </summary>
        public DateTime? FScanTime { get; set; }
        [PrintExport(Description = "后扫码时间", Order = 14, Visibility = true)]
        /// <summary>
        /// 后扫码时间
        /// </summary>
        public DateTime? BScanTime { get; set; }

        [PrintExport(Description = "前称重时间", Order = 13, Visibility = true)]
        /// <summary>
        /// 前称重时间
        /// </summary>
        public DateTime? FWeightTime { get; set; }

        [PrintExport(Description = "后称重时间", Order = 15, Visibility = true)]
        /// <summary>
        ///  注液后称重时间
        /// </summary>
        public DateTime? BWeightTime { get; set; }

        [PrintExport(Description = "实际补液重量", Order = 22, Visibility = false)]
        ///// <summary>
        ///// 实际补液重量
        ///// </summary>
        public Decimal? RepairInjectionWeight { get; set; }
        [PrintExport(Description = "补液称重时间", Order = 16, Visibility = true)]
        /// <summary>
        ///  补液称重时间
        /// </summary>
        public DateTime? RepairInjectionWeightTime { get; set; }

        [PrintExport(Description = "补液后称重", Order = 17, Visibility = true)]
        /// <summary>
        ///  补液后称重
        /// </summary>
        public Decimal? BRepairInjectionWeight { get; set; }

        [PrintExport(Description = "理论补液量", Order = 23, Visibility = false)]
        /// <summary>
        /// 理论补液量
        /// </summary>
        public Decimal? TheoryRepairValue { get; set; }

        [PrintExport(Description = "实际补液量", Order = 24, Visibility = false)]
        /// <summary>
        /// 实际补液量
        /// </summary>
        public Decimal? ActualRepairValue { get; set; }

        [PrintExport(Description = "生产时间", Order = 25, Visibility = true)]
        /// <summary>
        /// 生产时间
        /// </summary>
        public DateTime? ProductDate { get; set; }

        [PrintExport(Description = "完成标志", Order =26, Visibility = false)]
        /// <summary>
        /// 完成标志
        /// </summary>
        public bool? Finished { get; set; }
        /// <summary>
        /// 补液完成标志
        /// </summary>
        public bool? RepairFinished { get; set; }
        /// <summary>
        /// 标志
        /// </summary>
        public int? Flag { get; set; }
        /// <summary>
        /// 标准注液量
        /// </summary>
        public decimal? StdInj { get; set; }
        /// <summary>
        /// 注液量下限
        /// </summary>
        public decimal? InjLow { get; set; }
        /// <summary>
        /// 注液量上限
        /// </summary>
        public decimal? InjUp { get; set; }
        /// <summary>
        /// 注液量波动值
        /// </summary>
        public decimal? InjWave { get; set; }
        /// <summary>
        /// 前称号
        /// </summary>
        public int OrderNo { get; set; }
        /// <summary>
        /// 后称号
        /// </summary>
        public int OrderNo2 { get; set; }

        



    }
}
